//
//  AddExpenseViewController.h
//  Wallets Manager
//
//  Created by Tung Nguyen on 10/14/12.
//  Copyright (c) 2012 BKHN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TapkuLibrary.h"
#import "ExpenseType.h"
#import "DataBaseAccess.h"
#import "Plan.h"
#import "folyAppDelegate.h"
#import "SelectExpenseCategory.h"
#import "SelectPlanViewController.h"
@interface AddExpenseViewController : UIViewController <TKCalendarMonthViewDataSource,TKCalendarMonthViewDelegate,UITextFieldDelegate>
{
    Plan *currentPlan;
    ExpenseType *currentExpenseType;
    UIView *maskView1;
    UIView *maskView2;
}
@property(strong, nonatomic) Expense *currentExpense;

@property (weak, nonatomic) IBOutlet UIScrollView *scrollVIew;
@property (weak, nonatomic) IBOutlet UILabel *headerLabel;

@property (weak, nonatomic) IBOutlet UITextField *expenseNameTextField;
@property (weak, nonatomic) IBOutlet UITextField *categoryTextField;
@property (weak, nonatomic) IBOutlet UIImageView *categoryImageView;

@property (weak, nonatomic) IBOutlet UITextField *amountTextField;
@property (weak, nonatomic) IBOutlet UITextField *dateTextField;
@property (weak, nonatomic) IBOutlet UITextField *walletTextField;
@property (weak, nonatomic) IBOutlet UITextField *planTextField;
@property (weak, nonatomic) IBOutlet UIButton *addButton;

@property (weak, nonatomic) IBOutlet UIImageView *planImageView;
@property (weak, nonatomic) IBOutlet UITextField *noteTextField;

@property (strong,nonatomic) TKCalendarMonthView *monthViewCalendar;
@property (retain, nonatomic) UIActionSheet *pickerViewPopup;
@property (retain, nonatomic) NSString *dateString;

@property (retain, nonatomic) NSString *kindOfView;
- (IBAction)backButtonPressed:(id)sender;
- (IBAction)addButtonPressed:(id)sender;
-(void)popUpRefreshFrame;
- (void) createDatePickerView;


@end
